package net.vkits.anjiamiao.domain.model;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Created by ethan-liu on 16/5/28.
 */
public enum AuthenticationStatus {
    UserDeny(0,"审核未通过"), Unverified(1,"审核中"), Verified(2,"审核通过"), Init(3,"初始状态");
    private final int code;
    private final String value;

    AuthenticationStatus(int code, String value) {
        this.code = code;
        this.value = value;
    }

    @JsonValue
    public String getValue() {
        return this.value;
    }

    public int getCode() {
        return this.code;
    }
}
